{% extends "../layout.html" %}

{% block subtitle %}
修改历史
{% end %}
{% block style %}
  {% if topic.node.icon_img %}
  <link rel="shortcut icon" href="{{ topic.node.icon }}" type="image/x-icon" />
  {% end %}
  {% if topic.node.head_img %}
  <style type="text/css">
    #head {
      background: url({{ topic.node.head }});
      background-size: 100%;
    }
  </style>
  {% end %}
  {% if topic.node.style %}
  <style type="text/css">
    {{ topic.node.style }}
  </style>
  {% end %}
<link rel="stylesheet" tyle="text/css" href="{{ static_url('js/ext/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css') }}"/>
<script src="{{ static_url('js/ext/ueditor/third-party/SyntaxHighlighter/shCore.js') }}"></script>
{% end %}
{% block script %}

<script src="{{ static_url('js/reply.js') }}"></script>
<script src="{{ static_url('js/topic.js') }}"></script>
{% end %}
{% block node_id_param %}
?node_id={{ topic.node.id }}
{% end %}
{% block body %}
<ul class="body-nav">
  <li>
    <a href="/"><i class="icon-home"></i>&nbsp;{{ handler.settings['site_name'] }}</a>
  </li>
  <li>
    <a href="/nodes">节点</a>
  </li>
  <li>
    <a href="{{ topic.node.url }}">{{ escape(topic.node.name) }}</a>
  </li>
</ul>
{{ modules.TopicWrap(topic, classes=['history'], key=True) }}
<div class="organ">
  <div class="organ-head">
    主题修改记录
  </div>
  {{ modules.HistoryList(histories) }}
  <script type="text/javascript">
    SyntaxHighlighter.all();
  </script>
</div>
{% end %}
